((${input$entity} instanceof LivingEntity)?(${input$entity}.onGround):false)